<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">
    <p:confirmDialog id="deleteDialog" widgetVar="wvDeleteDialog" message="#{messages.label_delete_record}"
                     appendToBody="true"
                     showEffect="fade" hideEffect="fade" header="#{messages.label_confirm_deletion}"
                     severity="alarm">
        <h:form id="deleteForm">
            <p:commandButton value="#{messages.label_yes}" actionListener="#{jsfBean.deleteAction}"
                             update=":frmPrincipal:panelResultados #{updateExtra} :messages" style="text-align:center;"
                             oncomplete="wvDeleteDialog.hide()"/>
            <p:commandButton value="#{messages.label_no}" onclick="wvDeleteDialog.hide()" type="button"
                             style="text-align:center;"
                             immediate="true" process="@none"/>
        </h:form>
    </p:confirmDialog>
    <p:confirmDialog id="deleteSelectDialog" widgetVar="wvDeleteSelectDialog" message="#{messages.label_delete_record}"
                     appendToBody="true"
                     showEffect="fade" hideEffect="fade" header="#{messages.label_confirm_deletion}"
                     severity="alarm">
        <h:form id="deleteSelectForm">
            <p:commandButton value="#{messages.label_yes}" actionListener="#{jsfBean.deleteSelectAction}"
                             update=":frmPrincipal:panelResultados #{updateExtra} :messages" style="text-align:center;"
                             oncomplete="wvDeleteSelectDialog.hide()"/>
            <p:commandButton value="#{messages.label_no}" onclick="wvDeleteSelectDialog.hide()" type="button"
                             style="text-align:center;"
                             immediate="true" process="@none"/>
        </h:form>
    </p:confirmDialog>
</ui:composition>
